$bc:skyblue;

#header {
    padding: .27rem;
    width: 100%;
    height: 1.33rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: $bc;
    font-size: .48rem;
    color: white;

    .left {
        color: white;
    }

    .center {
        font-weight: bold;
        color: white;
    }

    .right {
        img {
            width: .91rem;
            height: .91rem;
        }
    }
}

#nav {
    height: .93rem;
    padding: .27rem;
    overflow: auto;

    .navList {
        display: flex;

        li {
            text-align: center;
            flex: 1;
            font-size: .35rem;
        }
    }
}

#main {
    width: 100%;

    .list {
        li {
            padding: .27rem;
            border-top: .13rem solid #eee;
            width: 100%;
            height: 4.8rem;
            display: flex;

            .left {
                width: 3.6rem;
                height: 3.47rem;
                border: 1px solid #ccc;

                img {
                    width: 100%;
                    height: 100%;
                }
            }

            .right {
                flex: 1;

                h3 {
                    line-height: 1.5;
                    min-height: .8rem;
                    font-size: .48rem;

                    span {
                        color: skyblue;
                    }
                }

                .price {
                    min-height: .9rem;
                    font-size: .64rem;
                    color: orange;

                    em {
                        font-size: .32rem;
                        font-style: normal;
                    }

                    del {
                        color: #cccccc;
                        font-size: .32rem;
                    }
                }

                .animation {
                    min-height: .83rem;

                    i {
                        position: relative;
                        display: inline-block;
                        width: 3.15rem;
                        border: 1px solid orange;
                        font-size: .32rem;
                        height: .53rem;
                        text-align: left;
                        color: white;
                        font-weight: bold;
                        border-radius: .27rem;
                        background-color: #ffb7b7;
                        text-align: center;

                        span {
                            position: absolute;
                            left: 0;
                            height: 100%;
                            line-height: .53rem;
                            text-align: center;
                            display: inline-block;
                            border-radius: .27rem;
                            // background-color: orange;
                        }
                    }

                    b {
                        min-height: .93rem;
                        font-size: .35rem;
                        color: orange;
                        margin-left: .13rem;
                    }
                }

                .click {
                    a {
                        &:nth-child(1) {
                            float: left;
                            border: 1px dotted orange;
                            height: 25px;
                            color: orange;
                            text-align: center;
                            line-height: 25px;
                            width: 63%;
                            cursor: pointer;
                        }

                        &:nth-child(2) {
                            display: block;
                            float: right;
                            border: 1px solid orange;
                            background-color: orange;
                            height: 30px;
                            color: #ffffff;
                            text-align: center;
                            line-height: 30px;
                            width: 35%;
                            border-radius: 10px;
                            cursor: pointer;
                        }
                    }
                }
            }
        }
    }
}

footer {
    background-color: #f4f4f4;
    overflow: hidden;

    .more {
        margin-top: .27rem;
        margin-bottom: .53rem;
        padding: 0 .4rem;

        a {
            background-color: white;
            border-radius: .13rem;
            color: #666666;
            font-size: .35rem;
            line-height: 2;
            text-align: center;
            display: block;
            height: 100%;
        }
    }

    .pingpai {
        margin-bottom: .53rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: $bc;
        height: .93rem;
        color: white;
        font-size: .43rem;
        font-weight: bold;
        padding: 0 .27rem;

        a {
            display: block;
            border: 1px solid white;
            border-radius: .53rem;
            width: .53rem;
            height: .53rem;
            text-indent: .11rem;
            color: white;
        }
    }

    ul {
        margin-top: .27rem;
        height: .88rem;
        width: 100%;
        display: flex;
        text-align: center;
        line-height: .88rem;
        font-size: .37rem;

        li {
            width: 100%;
            height: 100%;
            flex: 1;
            border: 1px solid #ccc;
            color: #666666;

            a {
                color: #666666;
            }
        }
    }

    .foot {
        background-color: #f4f4f4;
        padding-top: .27rem;
        font-size: .37rem;
        line-height: 2;
        text-align: center;

        h6 {
            color: #666666;
        }

        p {
            color: #333333;
            padding-bottom: .27rem;
        }
    }
}

#top {
    width: 1.33rem;
    height: 1.33rem;
    border-radius: 1.33rem;
    background: rgba(1, 1, 1, 0.3) url(../assets/imgs/icon_bar.png) -7.52rem -0.53rem;
    position: fixed;
    bottom: .53rem;
    right: .53rem;
}